<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>                         
        <?php echo $html->css('admin_style'); ?>	
        <?php e($javascript->link('prototype')); ?>
        <?php e($javascript->link('scriptaculous')); ?>
        <?php e($javascript->link('rte_admin')); ?>
        
    <title> IT-jobz.com - Menyediakan Lowongan dan Sumber Daya Manusia di Bidang IT </title>
    <link rel="shortcut icon" href="cake.icon" type="image/x-icon">

    <?php e($scripts_for_layout); ?>    
</head>


<body>
    <div id="container">

        <div id="header">
        </div>

        <div id='welcome_admin'>
            <?php
                if(isset($_SESSION['User']['type']))
                { 
					if($_SESSION['User']['type']=='admin'){
                    echo "Welcome, Admin &nbsp &nbsp"; 
                    echo $html->link('[ Logout ]',array('controler'=>'jobs','action'=>'logout_admin'),array('class'=>'sky'));
					}
                }
                else
                { echo "<span class='red'>This page is only for admin </span>"; }
            ?>
        </div>


        <hr color='#ccc'>
        
        <div id="content">
            <?php 
                if ($session->check('Message.flash')):
                    $session->flash();
                endif;
	        echo $content_for_layout; 
            ?>
        </div>

        <div id="footer">
            COPYRIGHT 2013
        </div>
    </div>
</body>

</html>
